#ifndef xD3dSkin_h_h_h_H
#define  xD3dSkin_h_h_h_H


#include "setup.h"

namespace XE
{
	class  xD3dSkin : public xSkin
	{

	public:
		xD3dSkin(UINT vertexCount,UINT BoneCount,LPD3DXSKININFO pDxSkin);

		virtual ~xD3dSkin();

			void SetSkinData(LPD3DXSKININFO pSkin);

			LPD3DXSKININFO GetSkinData()const {return m_pSkin;}

			// UINT GetVertexCount() ;

			 UINT GetBoneCount(); 

			xString	GetBoneName(DWORD index);


			const xMatrix* GetBoneOffsetMatrix(DWORD index);


	protected:
		LPD3DXSKININFO m_pSkin;



	};


}





#endif 